package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * @author xmy
 * @version 1.0
 */
public interface DishService {
    public void saveWithFlavor(DishDTO dishDTO);

    public PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);

    public void deleteBatch(List<Long> ids);

    public void startOrStop(Integer status,Integer id);

    DishVO getById(Long id);

    void update(DishDTO dishDTO);

    List<DishVO> getByCategoryId(Long categoryId);

    List<Dish> list(Long categoryId);
}
